package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author hu-yf
 * @createTime 2022/4/6 13:57
 * @description 中台分类分页查询接受类
 */
@Data
public class PageAdminClassifiedManagementReq implements Serializable {

    @ApiModelProperty(value = "页码")
    private Integer pageNumber;

    @ApiModelProperty(value = "行数")
    private Integer pageSize;

    @ApiModelProperty(value = "状态  true启用 false禁用")
    private Boolean activate;

    @ApiModelProperty(value = "创建时间")
    private LocalDate createTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDate endTime;

    @ApiModelProperty(name = "sort", value = "排序1 升序 0 降序")
    private Integer sort;

    @ApiModelProperty(name = "timeSort", value = "时间排序 1 升序 0 降序")
    private Integer timeSort;

    @ApiModelProperty("父分类id")
    private Long classifiedManagementId;

    @ApiModelProperty("子分类id")
    private Long sonClassifiedManagementId;
}
